<li>
<%=photo.public_filename(:thumb)%><br>
  <%= link_to image_tag(photo.public_filename(:thumb)), 
  {:controller=>'ualia_photos',:action=>'show',:ualia_id => photo.ualia, :id => photo}
             %>
</li>
